
export const STR_PARAM = generateRandomString(10000)

export const INT_ARRAY_PARAM: Array<number> = STR_PARAM.split("").map((item) => item.charCodeAt(0))

export function generateRandomString(length: number): string {
  const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
  let result = '';
  for (let i = 0; i < length; i++) {
    result += chars.charAt(Math.floor(Math.random() * chars.length));
  }
  return result;
}

export const STRING_ARRAY_PARAM : Array<string> = Array(10000).map(() => generateRandomString(10))
